Total Complexity | 142 |
Dependencies | 12 |
Dependents | 0 |
Total lines | 753 |
Lines of code | 434 |
Logical lines of code | 274 |
Comment lines | 202 |
Methods | 17 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create() | 80 | 220 | ||
save_default_attributes() | 46 | 15 | 38 | |
save_product_shipping_data() | 51 | 8 | 27 | |
maybe_update_stock_status() | 55 | 7 | 19 | |
save_downloadable_files() | 58 | 4 | 15 | |
all() | 53 | 3 | 21 | |
save_commission_settings() | 67 | 4 | 7 | |
save_taxonomy_terms() | 67 | 3 | 8 | |
update() | 66 | 3 | 7 | |
featured() | 58 | 2 | 15 | |
validate_product_id() | 67 | 3 | 8 | |
top_rated() | 59 | 2 | 13 | |
best_selling() | 60 | 2 | 12 | |
delete() | 69 | 2 | 7 | |
latest() | 63 | 2 | 10 | |
get() | 80 | 1 | 3 | |
get_commission_settings() | 76 | 1 | 4 |